redistribute static
This command redistributes routes of the specified protocol or kind into OSPF.
Syntax
redistribute static
redistribute static route-map
redistribute static metric-type {1|2}
redistribute static metric-type {1|2} route-map word
redistribute static metric <0-16777214>
redistribute static metric-type {1|2} metric <0-16777214> metric <0-16777214> route-map word
no redistribute static
|
Command |
Description |
|---|---|
|
metric |
Defines the metric for redistributed routes. |
|
Metric-type |
Defines the OSPF exterior metric type for registered routes. |
|
1|2 |
Sets the OSPF exterior type - 1- metric, 2-metrics. |
|
word |
Describes the pointer to route-map entries. |
Default
NA
Command Mode
Privileged User
Example
This example redistributes routes of the specified protocol or kind into OSPF.
(config-data)# router ospf (conf-router)# redistribute static